package com.superm.mappers;

import com.superm.entity.ShelfDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商家申请单详情接口
 */
public interface ShelfDetailsMapper {

    /**
     * 添加申请单详情
     * @param shelfDetails
     * @return
     */
    int  addRequistionDetails(@Param("shelfDetails") ShelfDetails shelfDetails);


    /**
     * 根据编号查询详情信息
     * @param shelfAppCode
     * @return
     */
    List<ShelfDetails> selectCodeDetails(@Param("shelfAppCode") String shelfAppCode,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);


    /**
     *条数查询
     * @param shelfAppCode
     * @return
     */
    int selectCount(@Param("shelfAppCode") String shelfAppCode);

}
